Hammer for Mac Snippets
Hammer for Mac snippets for Sublime Text
Details
Installs
- Total 579
- Win 190
- Mac 349
- Linux 40
| Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Hammer for Mac snippets for Sublime Text
About
A small collection of useful Sublime Text snippets to be used with Riot's wonderful app Hammer for Mac.
Installation
Via Package Control
- Install Package Control
- Hit
⌘+⇧+Pto open the Command Palette - Look for Package Control: Install Package and hit
↵ - Search for
Hammer for Mac Snippetsand hit↵
Manual
Navigate to your Packages directory and clone this repository:
$ git clone https://github.com/DinoPaskvan/Hammer-Snippets.git
Usage
Just type one of the triggers and hit TAB inside the editor.
| Snippet | Trigger | Output |
|---|---|---|
| 404 Fix | h-404 | <base href="/"> |
| Automatic Reload | h-rel | “ |
| HTML Include | h-inc | ” |
| Image Placeholder | h-img | “ |
| JavaScript Link (file) | h-js | ” |
| JavaScript Link (folder) | h-jsf | “ |
| Smart Path | h-pa | ” |
| Stylesheet Link (file) | h-st | “ |
| Stylesheet Link (folder) | h-stf | ” |
| To do | h-td | “ (1) |
| Variable | h-var | ” |
| Variable (Default Value) | h-vard | “ (2) |
(1) Output varies for each language (HTML, HAML, CSS, SCSS, CoffeeScript, JavaScript). Table shows HTML output.
(2) The | character breaks the table syntax and cannot be escaped. The actual output is: ”
Contributions
Feel free to fork this repository, fiddle with things and send pull requests.
License
This plugin is licensed under the MIT license.